﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Configuration;

namespace Gammar.Digger.IDAL
{
    public sealed class ConnectionString
    {
        //定义数据源 SqlServer
        public static readonly string SqlServer_GPriceCollect = ConfigurationManager.ConnectionStrings["conn_SqlServer_GPriceCollect"].ConnectionString;
        public static readonly string SqlServer_GPriceCollect_Data = ConfigurationManager.ConnectionStrings["conn_SqlServer_GPriceCollect_Data"].ConnectionString;
        public static readonly string SqlServer_GPriceWeb = ConfigurationManager.ConnectionStrings["conn_SqlServer_GPriceWeb"].ConnectionString;
        //定义数据源 Oracle
        //public static readonly string Oracle_ddscm = ConfigurationManager.ConnectionStrings[""].ConnectionString;
        //public static readonly string Oracle_ddorder = ConfigurationManager.ConnectionStrings[""].ConnectionString;
        //public static readonly string Oracle_ddaccount = ConfigurationManager.ConnectionStrings[""].ConnectionString;

        //定义数据源 Mysql
        //public static readonly string MySql_ddscm = ConfigurationManager.ConnectionStrings[""].ConnectionString;
        //public static readonly string MySql_ddorder = ConfigurationManager.ConnectionStrings[""].ConnectionString;
        //public static readonly string MySql_ddaccount = ConfigurationManager.ConnectionStrings[""].ConnectionString;
    }
}
